package com.gjy.design.factory.abstraction;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 11:32:06
 */
public class Demo {

    public static void main(String[] args) {
        Application app1 = new Application(new WebUIFactory());
        app1.render();

        Application app2 = new Application(new MacUIFactory());
        app2.render();
    }

}
